SiteGround_Optimizer\DNS\Cloudflare A

Total Complexity 67
Dependencies 2
Dependents 4
Total lines 518
Lines of code 274
Logical lines of code 138
Comment lines 161
Methods 13
Properties 5

Methods 13

Method Rating Maintainability Complexity Lines of code
has_cloudflare()
A
47 11 37
is_siteground_cdn()
A
49 9 31
add_headers()
A
55 9 19
get_path()
A
53 8 24
request()
A
46 7 38
add_worker()
S
47 4 37
set_zone_id()
S
55 4 19
prepare()
S
61 4 13
get_site_rules()
S
56 3 18
purge_cache()
S
63 2 12
remove_worker()
S
63 2 11
get_instance()
S
71 2 6
remove_site_rules()
S
65 2 9